package org.xshop.model;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import io.swagger.annotations.ApiModel;
import top.ibase4j.core.base.BaseModel;

/**
 * Created by BaiJiFeiLong@gmail.com at 2018/4/4 16:12
 */
@SuppressWarnings("serial")
@TableName("t_order_express")
@ApiModel("订单派送")
public class TOrderExpress extends BaseModel {

    @TableField("order_id")
    private Long orderId;

    @TableField("expressman_id")
    private Long expressmanId;

    @TableField("state_")
    private Integer state;

    @TableField(exist = false)
    private TOrder order;
    @TableField(exist = false)
    private TExpressman expressman;
    @TableField(exist = false)
    private BigDecimal lon;
    @TableField(exist = false)
    private BigDecimal lat;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getExpressmanId() {
        return expressmanId;
    }

    public void setExpressmanId(Long expressmanId) {
        this.expressmanId = expressmanId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public TOrder getOrder() {
        return order;
    }

    public void setOrder(TOrder order) {
        this.order = order;
    }

    public TExpressman getExpressman() {
        return expressman;
    }

    public void setExpressman(TExpressman expressman) {
        this.expressman = expressman;
    }

    public BigDecimal getLon() {
        return lon;
    }

    public void setLon(BigDecimal lon) {
        this.lon = lon;
    }

    public BigDecimal getLat() {
        return lat;
    }

    public void setLat(BigDecimal lat) {
        this.lat = lat;
    }
}
